package action;

import ui.ChatFrame;
import ui.LoginFrame;
import ui.RegisterFrame;

public class ClientAction {
	
	private LoginFrame loginFrame;
	private ChatFrame chatFrame;
	private RegisterFrame registerFrame;
	
	
	public ClientAction(){
		init();
	}
	
	private void init(){
		loginFrame = new LoginFrame();
		chatFrame = new ChatFrame();
		registerFrame = new RegisterFrame();
		registerFrame.setLoginFrame(loginFrame);
		loginFrame.setChatFrame(chatFrame);
		loginFrame.setRegisterFrame(registerFrame);
	}
	
	public static void main(String[] args) {
		new ClientAction();
	}

}
